package com.banfan.almond.web.annotation.OperationLogger;

import com.banfan.almond.base.enums.PlatformEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLogger {

    String operation() default "";

    PlatformEnum platform() default PlatformEnum.ADMIN;

    boolean save() default true;
}
